package com.bage.wx.service;

import com.bage.wx.aes.AesException;
import com.bage.wx.dto.MpCommonRequest;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface WxMpEventService {

    /**
     * 接收公众号推送的事件
     * @param mpCommonRequest
     * @param httpServletRequest
     * @return
     */
    String receiveMpEvent(MpCommonRequest mpCommonRequest, HttpServletRequest httpServletRequest) throws AesException, IOException;
}
